import { Module } from '@nestjs/common';
import { ContactService } from './contact.service';
import { ContactController } from './contact.controller';
import { MongooseModule } from '@nestjs/mongoose'
import { contactSchema } from './contact.shema'

@Module({
  imports: [MongooseModule.forFeature([{name: 'contact', schema: contactSchema}])],
  providers: [ContactService],
  controllers: [ContactController]
})
export class ContactModule {}
